<div class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
 <?= form_open('user/tasks/add_feedback/')?>
  <div class="modal-header">
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
    <h3 id="myModalLabel">Add Feedback</h3>
  </div>
  <div class="modal-body">  
  <input type="hidden" name="task_id" value="<?= $tasks_id;?>" />
  <input type="hidden" name="for_id" value="<?= $for;?>" />
 <img src="<?php echo base_url().'assets/images/smileys/'.$emo.'.png'?>" style="cursor: pointer"   />
  <input type="hidden" name="emo" value="<?= $emo;?>" /> 
  <textarea name="feedback" class="span4"></textarea>
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
    <button class="btn btn-info" type="submit">Save changes</button>
  </form>
  </div>
</div>